package com.huabo.audit.oracle.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.huabo.audit.config.IgnoreSwaggerParameter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

import javax.persistence.Transient;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author huabo
 * @since 2022-07-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("TBL_NBSJ_STAFFSCORE")
@ApiModel(value="TBL_NBSJ_STAFFSCORE对象", description="审计-人员评分表")
public class TblNbsjStaffscore implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "staffScore_id", type= IdType.AUTO)
    @ApiModelProperty(value="人员评分表主键")
    private BigDecimal staffScoreid;

    @TableField(value = "unit")
    @ApiModelProperty(value="单位id")
    private BigDecimal unit;

    @TableField(value = "auditors")
    @ApiModelProperty(value="审计人员id")
    private BigDecimal auditors;
    
    @ApiModelProperty(value = "审计人员实体")
    @Transient
    @IgnoreSwaggerParameter
    private TblStaff auditor;
    

    @TableField(value = "auditProjectName")
    @ApiModelProperty(value="参与审计项目名称")
    private String auditProjectName;

    @TableField(value = "totalScore")
    @ApiModelProperty(value="总分")
    private String totalScore;

    @TableField(value = "assessmentResults")
    @ApiModelProperty(value="考核结果", hidden = true)
    private String assessmentResults;
    
    
    @TableField("PROJECTID")
    @ApiModelProperty(value = "审计项目ID")
    private BigDecimal projectid;
    
    @TableField("STATUS")
    @ApiModelProperty(value="审核状态  1.未审核 2.审核中 3.需调整 4.已完成")
    private Integer status;

//    @TableField(value = "ZbAuditManagerVerifyScore")
//    @ApiModelProperty(value="总部审计管理人员核实评分")
//    private String ZbAuditManagerVerifyScore;
//
//    @TableField(value = "ZbAuditManagerVerifyResults")
//    @ApiModelProperty(value="总部审计管理人员考核结果")
//    private String ZbAuditManagerVerifyResults;
//
//    @TableField(value = "ZbAuditManagerVerifyOpinion")
//    @ApiModelProperty(value="总部审计管理人员考核意见")
//    private String ZbAuditManagerVerifyOpinion;
//
//    @TableField(value = "ZbAuditDepartmentScoring")
//    @ApiModelProperty(value="总部审计部门负责人意见评分")
//    private String ZbAuditDepartmentScoring;
//
//    @TableField(value = "ZbAuditDepartmentResults")
//    @ApiModelProperty(value="总部审计部门负责人考核结果")
//    private String ZbAuditDepartmentResults;
//
//    @TableField(value = "ZbAuditDepartmentOpinion")
//    @ApiModelProperty(value="总部审计部门负责人意见")
//    private String ZbAuditDepartmentOpinion;
//
//    @TableField(value = "tblNbsjStaffscoreDetails对象")
//    @ApiModelProperty(value="审计-人员评分明细表")
//    private List<TblNbsjStaffscoreDetails> tblNbsjStaffscoreDetails;
    
    @ApiModelProperty(value = "人员评分明细表")
    @Transient
    @IgnoreSwaggerParameter
    private List<TblNbsjStaffscoreDetails> tblNbsjStaffscoreDetails;
    

}
